﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FySystem.Entity.Common
{
    public class IdITO
    {
        public string id { get; set; }

        public string tag {  get; set; }
    }

    public static class IdITOExtension
    {
        public static bool IsNull(this IdITO idITO)
        {
            if (idITO == null)
                return true;
            else if (string.IsNullOrWhiteSpace(idITO.id))
                return true;
            else
                return false;
        }
    }
}
